package com.qys.livesMall.open.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.open.modal.dto.app.H2AppUserDeviceDTO;
import com.qys.livesMall.open.modal.entity.H2AppUserDevice;

import java.util.List;

/**
 * <p>
 * 用户和设备关联表 服务类
 * </p>
 *
 * @author wzy
 * @since 2023-07-07
 */
public interface H2AppUserDeviceService extends IService<H2AppUserDevice> {

    /**
     * 保存用户和设备关联
     * @param dto
     */
    void saveUserDevice(H2AppUserDeviceDTO dto);

    List<H2AppUserDevice> getByIds(List<Long> userIds, String code);
}
